import React, { Component } from 'react';
import {Row, Col, LocaleProvider} from 'antd';
import zhCN from 'antd/lib/locale-provider/zh_CN';
import Header from './components/Header';
import Footer from './components/Footer';
import NavLeft from './components/NavLeft';
import './assets/style/common.less';
class Admin extends Component {
    render() {
        return (
            <div>
                <LocaleProvider locale={zhCN}>
                    <Row className="container">
                        <Col span="4" className="nav-left">
                            <NavLeft></NavLeft>
                        </Col>
                        <Col span="20" className="main">
                            <Header>
                            </Header>
                            <Row className="content">
                                {this.props.children}
                            </Row>
                            <Footer>  
                            </Footer>
                        </Col>
                    </Row>
                </LocaleProvider>
            </div>
        );
    }
}

export default Admin;